package com.ml.mall.bean.req.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/13
 *   @version        :1.0
**/
@ApiModel(description = "国家州属")
@Data
public class CompanyShippingDto {
    @ApiModelProperty(value = "国家ID;一个countryId 多个州IdArr")
    @NotNull(message = "国家不能为空")
    private Long countryId;
    @ApiModelProperty(value = "州属ID")
    @NotEmpty(message = "州属不能为空")
    private List<Long> statesArr;
}
